<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">收支明细</h1>
</div>
<style>
    .green{
        color:green;
    }
    .red{
        color:red;
    }
</style>
<div class="wrapper-md" ng-controller="fundListCtrl">
    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default col-md-12" style="padding: 0">
                <div class="panel-heading">
                    账户余额：<span >{{totalAmount}}</span> 元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button ng-click='charge()' class='btn-yellow'>充值</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button ng-click='withdraw()' class='btn-yellow'>提现</button>
                </div>
                <div class="panel-body">
                    <form class="form-group">
                        <!-- <label class="col-sm-1 control-label" style="height:34px;line-height: 34px;">审核状态:</label> -->
                        <div class="col-sm-2">
                            <ui-select ng-model="subject1.selected" theme="bootstrap">
                              <ui-select-match placeholder="全部类型">{{$select.selected.name}}</ui-select-match>
                              <ui-select-choices repeat="item in fundTypeArray | filter: $select.search">
                                <div ng-bind-html="item.name | highlight: $select.search"></div>
                              </ui-select-choices>
                            </ui-select>
                        </div>
                        <!-- <div class="col-sm-2">
                            <input type="search" class="form-control" ng-model="nameCode" placeholder="流水号">
                        </div> -->
                        <!-- <label class="col-sm-1 control-label" style="height:34px;line-height: 34px;padding-right: 0;text-align:right;">交易时间：</label> -->
                        <!-- <div class="col-sm-2">                             -->
                            <!-- <input type="search" class="form-control" ng-model="queryParams.startTime" placeholder=""> -->
                        <!-- </div>                         -->
                        <!-- <div class="col-sm-2"> -->
                            <!-- <input type="search" class="form-control" ng-model="queryParams.endTime" placeholder=""> -->
                        <!-- </div> -->
                        <div ng-controller="fundListTimeCtrl" class="col-sm-6">
                            
                                <label class="col-sm-2 control-label" style="height:34px;line-height: 34px;">交易时间：</label>
                                <div class="col-sm-4">
                                    <div class="input-group  pull-left">
                                      <input  type="text" class="form-control" id='qBeginTime' datepicker-popup="{{format}}" ng-model="fundStartDate" is-open="openContractBeginDated" datepicker-options="{{dateOptions}}" close-text="关闭" clear-text="清除" current-text="今天" min-date="minStartDate" max-date="maxStartDate" />
                                      <span class="input-group-btn">
                                        <button type="button" class="btn btn-default" ng-click="openContractBeginDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                                      </span>
                                    </div>
                                </div>
                            
                            
                                <div class="col-sm-1 control-label" style="height:34px;line-height: 34px;">到</div>                                
                                <div class="col-sm-4">
                                    <div class="input-group  pull-left">
                                      <input  type="text" class="form-control" id='qEndTime' datepicker-popup="{{format}}" ng-model="fundEndDate" is-open="openContractEndDated" datepicker-options="dateOptions" close-text="关闭" clear-text="清除" current-text="今天" min-date="minStartDate" max-date="maxStartDate"/>
                                      <span class="input-group-btn">
                                        <button type="button" class="btn btn-default" ng-click="openContractEndDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                                      </span>
                                    </div>
                                </div>
                            
                        </div>
                        <button class="btn-yellow" ng-click="queryUser()">查询</button>
                    </form>
                </div>
                <div class="table-responsive col-md-12">
                    <table ui-jq="dataTable" ui-options="tableFundListDatas" ui-callback="initFinish" class="table table-striped m-b-none" id="example">
                        <thead>
                            <tr>
                            </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
